home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 5 / BBS in a Box -Volume V (BBS in a Box) (April 1992).iso / Files / Prog / M / MCLUTILS.CPT / oodles-of-utils / mixin-madness / simple-view-mixins / selectable-svm.lisp < prev    next >
MacBinary  |  1991-10-24  |  12.1 KB  |  [TEXT/CCL2]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, Thu Oct 24 16:05:01 1991, modified Thu Oct 24 16:05:01 1991, creator Common Lisp 2, type ASCII, 11719 bytes "selectable-svm.lisp" , at 0x2e47 416 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[CCL2]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 13 73 65 6c 65 63 74 | 61 62 6c 65 2d 73 76 6d |..select|able-svm|
|00000010| 2e 6c 69 73 70 00 00 00 | 00 00 00 00 00 00 00 00 |.lisp...|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 43 43 4c | 32 00 00 00 00 00 00 00 |.TEXTCCL|2.......|
|00000050| 00 00 00 00 00 2d c7 00 | 00 01 a0 a5 2c d7 ed a5 |.....-..|....,...|
|00000060| 2c d7 ed 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |,.......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 d9 99 00 00 |........|........|
|00000080| 28 69 6e 2d 70 61 63 6b | 61 67 65 20 3a 6f 6f 75 |(in-pack|age :oou|
|00000090| 29 0d 28 70 72 6f 76 69 | 64 65 20 3a 73 65 6c 65 |).(provi|de :sele|
|000000a0| 63 74 61 62 6c 65 2d 73 | 76 6d 29 0d 3b 3b 3b 3b |ctable-s|vm).;;;;|
|000000b0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000000c0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000000d0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000000e0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000000f0| 3b 3b 0d 3b 3b 20 73 65 | 6c 65 63 74 61 62 6c 65 |;;.;; se|lectable|
|00000100| 2d 73 76 6d 2e 4c 69 73 | 70 0d 3b 3b 0d 3b 3b 20 |-svm.Lis|p.;;.;; |
|00000110| 43 6f 70 79 72 69 67 68 | 74 20 a9 20 31 39 39 31 |Copyrigh|t . 1991|
|00000120| 20 4e 6f 72 74 68 77 65 | 73 74 65 72 6e 20 55 6e | Northwe|stern Un|
|00000130| 69 76 65 72 73 69 74 79 | 20 49 6e 73 74 69 74 75 |iversity| Institu|
|00000140| 74 65 20 66 6f 72 20 74 | 68 65 20 4c 65 61 72 6e |te for t|he Learn|
|00000150| 69 6e 67 20 53 63 69 65 | 6e 63 65 73 0d 3b 3b 20 |ing Scie|nces.;; |
|00000160| 41 6c 6c 20 52 69 67 68 | 74 73 20 52 65 73 65 72 |All Righ|ts Reser|
|00000170| 76 65 64 0d 3b 3b 0d 3b | 3b 20 61 75 74 68 6f 72 |ved.;;.;|; author|
|00000180| 3a 20 4d 69 63 68 61 65 | 6c 20 53 2e 20 45 6e 67 |: Michae|l S. Eng|
|00000190| 62 65 72 0d 3b 3b 0d 3b | 3b 20 6d 69 78 69 6e 73 |ber.;;.;|; mixins|
|000001a0| 20 66 6f 72 20 73 65 6c | 65 63 74 69 6e 67 20 76 | for sel|ecting v|
|000001b0| 69 65 77 73 0d 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |iews.;;;|;;;;;;;;|
|000001c0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000001d0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000001e0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000001f0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 0d 0d 28 6f 6f |;;;;;;;;|;;;..(oo|
|00000200| 75 2d 64 65 70 65 6e 64 | 65 6e 63 69 65 73 0d 20 |u-depend|encies. |
|00000210| 3a 73 69 6d 70 6c 65 2d | 76 69 65 77 2d 63 65 29 |:simple-|view-ce)|
|00000220| 0d 0d 0d 28 65 78 70 6f | 72 74 20 27 28 73 65 6c |...(expo|rt '(sel|
|00000230| 65 63 74 61 62 6c 65 2d | 73 76 6d 20 73 65 6c 65 |ectable-|svm sele|
|00000240| 63 74 61 62 6c 65 2d 72 | 62 2d 73 76 6d 20 73 65 |ctable-r|b-svm se|
|00000250| 6c 65 63 74 61 62 6c 65 | 2d 63 62 2d 73 76 6d 0d |lectable|-cb-svm.|
|00000260| 20 20 20 20 20 20 20 20 | 20 20 73 65 6c 65 63 74 | | select|
|00000270| 65 64 2d 69 74 65 6d 73 | 0d 20 20 20 20 20 20 20 |ed-items|. |
|00000280| 20 20 20 29 29 0d 0d 3b | 3b 3b 3b 3b 3b 3b 3b 3b | ))..;|;;;;;;;;|
|00000290| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000002a0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000002b0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000002c0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 0d 23 7c |;;;;;;;;|;;;;;.#||
|000002d0| 0d 0d 54 68 65 73 65 20 | 6d 69 78 69 6e 73 20 67 |..These |mixins g|
|000002e0| 72 6f 75 70 20 76 69 65 | 77 73 20 69 6e 74 6f 20 |roup vie|ws into |
|000002f0| 63 6c 75 73 74 65 72 73 | 20 61 6e 64 20 68 61 6e |clusters| and han|
|00000300| 64 6c 65 20 73 65 6c 65 | 63 74 69 6f 6e 20 6f 66 |dle sele|ction of|
|00000310| 0d 69 74 65 6d 73 20 77 | 69 74 68 69 6e 20 61 20 |.items w|ithin a |
|00000320| 63 6c 75 73 74 65 72 2e | 20 33 20 63 6c 61 73 73 |cluster.| 3 class|
|00000330| 65 73 20 61 72 65 20 64 | 65 66 69 6e 65 64 2c 20 |es are d|efined, |
|00000340| 64 69 66 66 65 72 69 6e | 67 20 69 6e 20 68 6f 77 |differin|g in how|
|00000350| 20 74 68 65 79 20 68 61 | 6e 64 6c 65 0d 6d 75 6c | they ha|ndle.mul|
|00000360| 74 69 70 6c 65 20 73 65 | 6c 65 63 74 69 6f 6e 73 |tiple se|lections|
|00000370| 3a 0d 20 73 65 6c 65 63 | 74 61 62 6c 65 2d 73 76 |:. selec|table-sv|
|00000380| 6d 20 20 20 20 2d 20 73 | 68 69 66 74 20 63 6c 69 |m - s|hift cli|
|00000390| 63 6b 20 74 6f 20 65 78 | 74 65 6e 64 20 73 65 6c |ck to ex|tend sel|
|000003a0| 65 63 74 69 6f 6e 73 20 | 28 88 20 6c 61 20 74 68 |ections |(. la th|
|000003b0| 65 20 46 69 6e 64 65 72 | 29 0d 20 73 65 6c 65 63 |e Finder|). selec|
|000003c0| 74 61 62 6c 65 2d 72 62 | 2d 73 76 6d 20 2d 20 6e |table-rb|-svm - n|
|000003d0| 6f 20 6d 75 6c 74 69 70 | 6c 65 20 73 65 6c 65 63 |o multip|le selec|
|000003e0| 74 69 6f 6e 73 20 28 88 | 20 6c 61 20 72 61 64 69 |tions (.| la radi|
|000003f0| 6f 20 62 75 74 74 6f 6e | 73 29 0d 20 73 65 6c 65 |o button|s). sele|
|00000400| 63 74 61 62 6c 65 2d 63 | 62 2d 73 76 6d 20 2d 20 |ctable-c|b-svm - |
|00000410| 63 6c 69 63 6b 20 74 6f | 20 74 6f 67 67 6c 65 20 |click to| toggle |
|00000420| 73 65 6c 65 63 74 69 6f | 6e 73 20 28 88 20 6c 61 |selectio|ns (. la|
|00000430| 20 63 68 65 63 6b 20 62 | 6f 78 65 73 29 0d 0d 53 | check b|oxes)..S|
|00000440| 65 65 20 41 6c 73 6f 0d | 20 64 72 61 67 67 61 62 |ee Also.| draggab|
|00000450| 6c 65 2d 73 76 6d 20 2d | 20 64 72 61 67 67 69 6e |le-svm -| draggin|
|00000460| 67 20 63 75 72 72 65 6e | 74 20 73 65 6c 65 63 74 |g curren|t select|
|00000470| 69 6f 6e 0d 20 64 72 6f | 70 70 61 62 6c 65 2d 73 |ion. dro|ppable-s|
|00000480| 76 6d 20 2d 20 64 72 61 | 67 67 69 6e 67 20 2b 20 |vm - dra|gging + |
|00000490| 64 72 6f 70 70 69 6e 67 | 20 73 65 6c 65 63 74 69 |dropping| selecti|
|000004a0| 6f 6e 20 6f 6e 74 6f 20 | 74 61 72 67 65 74 73 0d |on onto |targets.|
|000004b0| 0d 0d 49 6e 69 74 61 72 | 67 73 0d 0d 20 3a 73 65 |..Initar|gs.. :se|
|000004c0| 6c 65 63 74 69 6f 6e 2d | 63 6c 75 73 74 65 72 20 |lection-|cluster |
|000004d0| 28 6e 69 6c 29 0d 20 20 | 20 20 54 68 65 20 73 65 |(nil). | The se|
|000004e0| 6c 65 63 74 69 6f 6e 20 | 63 6c 75 73 74 65 72 20 |lection |cluster |
|000004f0| 74 6f 20 77 68 69 63 68 | 20 74 68 65 20 69 74 65 |to which| the ite|
|00000500| 6d 20 62 65 6c 6f 6e 67 | 73 2e 20 28 74 65 73 74 |m belong|s. (test|
|00000510| 20 77 69 74 68 20 65 71 | 29 0d 20 20 20 20 4d 65 | with eq|). Me|
|00000520| 6d 62 65 72 73 20 6f 66 | 20 61 20 63 6c 75 73 74 |mbers of| a clust|
|00000530| 65 72 20 61 72 65 20 72 | 65 71 75 69 72 65 64 20 |er are r|equired |
|00000540| 74 6f 20 68 61 76 65 20 | 74 68 65 20 73 61 6d 65 |to have |the same|
|00000550| 20 63 6f 6e 74 61 69 6e | 69 6e 67 20 76 69 65 77 | contain|ing view|
|00000560| 2e 0d 20 20 20 20 4d 75 | 6c 74 69 70 6c 65 20 73 |.. Mu|ltiple s|
|00000570| 65 6c 65 63 74 69 6f 6e | 20 63 6f 6e 73 74 72 61 |election| constra|
|00000580| 69 6e 74 73 20 61 72 65 | 20 65 6e 66 6f 72 63 65 |ints are| enforce|
|00000590| 64 20 77 69 74 68 69 6e | 20 65 61 63 68 20 63 6c |d within| each cl|
|000005a0| 75 73 74 65 72 2e 0d 0d | 20 3a 73 65 6c 65 63 74 |uster...| :select|
|000005b0| 65 64 2d 70 20 5b 6e 69 | 6c 5d 0d 20 20 20 20 44 |ed-p [ni|l]. D|
|000005c0| 65 74 65 72 6d 69 6e 65 | 73 20 69 66 20 74 68 65 |etermine|s if the|
|000005d0| 20 69 74 65 6d 20 69 6e | 69 74 69 61 6c 6c 79 20 | item in|itially |
|000005e0| 73 65 6c 65 63 74 65 64 | 2e 0d 0d 20 3a 61 6c 6c |selected|... :all|
|000005f0| 2d 64 72 61 67 2d 61 63 | 74 69 6f 6e 73 2d 70 20 |-drag-ac|tions-p |
|00000600| 5b 74 5d 0d 20 20 20 20 | 49 66 20 74 68 65 20 69 |[t]. |If the i|
|00000610| 74 65 6d 20 69 73 20 64 | 72 61 67 67 61 62 6c 65 |tem is d|raggable|
|00000620| 2c 20 74 68 69 73 20 64 | 65 74 65 72 6d 69 6e 65 |, this d|etermine|
|00000630| 73 20 69 66 20 74 68 65 | 20 64 72 61 67 20 61 63 |s if the| drag ac|
|00000640| 74 69 6f 6e 73 20 6f 66 | 0d 20 20 20 20 61 6c 6c |tions of|. all|
|00000650| 20 69 74 65 6d 73 20 69 | 6e 20 74 68 65 20 73 65 | items i|n the se|
|00000660| 6c 65 63 74 69 6f 6e 73 | 20 77 69 6c 6c 20 62 65 |lections| will be|
|00000670| 20 63 61 6c 6c 65 64 20 | 64 75 72 69 6e 67 20 74 | called |during t|
|00000680| 68 65 20 64 72 61 67 2e | 0d 0d 20 3a 61 6c 6c 2d |he drag.|.. :all-|
|00000690| 64 72 61 67 2d 65 6e 64 | 2d 61 63 74 69 6f 6e 73 |drag-end|-actions|
|000006a0| 2d 70 20 5b 74 5d 0d 20 | 20 20 20 49 66 20 74 68 |-p [t]. | If th|
|000006b0| 65 20 69 74 65 6d 20 69 | 73 20 64 72 61 67 67 61 |e item i|s dragga|
|000006c0| 62 6c 65 2c 20 74 68 69 | 73 20 64 65 74 65 72 6d |ble, thi|s determ|
|000006d0| 69 6e 65 73 20 69 66 20 | 74 68 65 20 64 72 61 67 |ines if |the drag|
|000006e0| 20 65 6e 64 20 61 63 74 | 69 6f 6e 73 20 6f 66 0d | end act|ions of.|
|000006f0| 20 20 20 20 61 6c 6c 20 | 69 74 65 6d 73 20 69 6e | all |items in|
|00000700| 20 74 68 65 20 73 65 6c | 65 63 74 69 6f 6e 73 20 | the sel|ections |
|00000710| 77 69 6c 6c 20 62 65 20 | 63 61 6c 6c 65 64 20 61 |will be |called a|
|00000720| 66 74 65 72 20 74 68 65 | 20 64 72 61 67 2e 0d 0d |fter the| drag...|
|00000730| 20 3a 61 6c 6c 2d 64 72 | 6f 70 2d 61 63 74 69 6f | :all-dr|op-actio|
|00000740| 6e 73 2d 70 20 5b 74 5d | 0d 20 20 20 20 49 66 20 |ns-p [t]|. If |
|00000750| 74 68 65 20 69 74 65 6d | 20 69 73 20 64 72 6f 70 |the item| is drop|
|00000760| 70 61 62 6c 65 2c 20 74 | 68 69 73 20 64 65 74 65 |pable, t|his dete|
|00000770| 72 6d 69 6e 65 73 20 69 | 66 20 74 68 65 20 64 72 |rmines i|f the dr|
|00000780| 6f 70 20 61 63 74 69 6f | 6e 73 20 6f 66 0d 20 20 |op actio|ns of. |
|00000790| 20 20 61 6c 6c 20 69 74 | 65 6d 73 20 69 6e 20 74 | all it|ems in t|
|000007a0| 68 65 20 73 65 6c 65 63 | 74 69 6f 6e 73 20 77 69 |he selec|tions wi|
|000007b0| 6c 6c 20 62 65 20 63 61 | 6c 6c 65 64 20 61 66 74 |ll be ca|lled aft|
|000007c0| 65 72 20 74 68 65 20 64 | 72 6f 70 2e 0d 0d 0d 4d |er the d|rop....M|
|000007d0| 65 74 68 6f 64 73 20 6f | 66 20 49 6e 74 65 72 65 |ethods o|f Intere|
|000007e0| 73 74 0d 0d 20 73 65 6c | 65 63 74 65 64 2d 69 74 |st.. sel|ected-it|
|000007f0| 65 6d 73 20 28 73 76 20 | 73 65 6c 65 63 74 61 62 |ems (sv |selectab|
|00000800| 6c 65 2d 73 76 6d 29 0d | 20 20 20 52 65 74 75 72 |le-svm).| Retur|
|00000810| 6e 73 20 61 20 6c 69 73 | 74 20 6f 66 20 74 68 65 |ns a lis|t of the|
|00000820| 20 69 74 65 6d 73 20 63 | 75 72 72 65 6e 74 6c 79 | items c|urrently|
|00000830| 20 73 65 6c 65 63 74 65 | 64 20 69 6e 20 64 69 27 | selecte|d in di'|
|00000840| 73 20 63 6c 75 73 74 65 | 72 2e 0d 20 20 20 55 73 |s cluste|r.. Us|
|00000850| 65 20 77 69 74 68 20 73 | 65 74 66 20 74 6f 20 63 |e with s|etf to c|
|00000860| 68 61 6e 67 65 20 74 68 | 65 20 63 75 72 72 65 6e |hange th|e curren|
|00000870| 74 20 73 65 6c 65 63 74 | 69 6f 6e 2e 0d 0d 20 68 |t select|ion... h|
|00000880| 69 6c 69 74 65 2d 73 65 | 6c 65 63 74 65 64 2d 69 |ilite-se|lected-i|
|00000890| 74 65 6d 20 28 73 76 20 | 73 65 6c 65 63 74 61 62 |tem (sv |selectab|
|000008a0| 6c 65 2d 73 76 6d 29 20 | 68 69 6c 69 74 65 2d 66 |le-svm) |hilite-f|
|000008b0| 6c 61 67 0d 20 20 20 53 | 70 65 63 69 61 6c 69 7a |lag. S|pecializ|
|000008c0| 65 20 74 68 69 73 20 74 | 6f 20 63 75 73 74 6f 6d |e this t|o custom|
|000008d0| 69 7a 65 20 74 68 65 20 | 68 69 6c 69 74 69 6e 67 |ize the |hiliting|
|000008e0| 20 65 66 66 65 63 74 20 | 66 6f 72 20 73 65 6c 65 | effect |for sele|
|000008f0| 63 74 65 64 20 69 74 65 | 6d 73 2e 0d 20 20 20 68 |cted ite|ms.. h|
|00000900| 69 6c 69 74 65 2d 66 6c | 61 67 20 69 6e 64 69 63 |ilite-fl|ag indic|
|00000910| 61 74 65 73 20 77 68 65 | 74 68 65 72 20 74 6f 20 |ates whe|ther to |
|00000920| 68 69 6c 69 74 65 20 6f | 72 20 75 6e 2d 68 69 6c |hilite o|r un-hil|
|00000930| 69 74 65 20 74 68 65 20 | 69 74 65 6d 20 28 74 2f |ite the |item (t/|
|00000940| 6e 69 6c 29 2e 0d 20 20 | 20 54 68 65 20 64 65 66 |nil).. | The def|
|00000950| 61 75 6c 74 20 6d 65 74 | 68 6f 64 20 75 73 65 73 |ault met|hod uses|
|00000960| 20 69 6e 76 65 72 73 69 | 6f 6e 2e 0d 0d 4e 6f 74 | inversi|on...Not|
|00000970| 65 20 6f 6e 20 63 6f 6d | 62 69 6e 69 6e 67 20 73 |e on com|bining s|
|00000980| 65 6c 65 63 74 61 62 6c | 65 20 61 6e 64 20 64 72 |electabl|e and dr|
|00000990| 61 67 67 61 62 6c 65 20 | 62 65 68 61 76 69 6f 72 |aggable |behavior|
|000009a0| 3a 0d 73 65 6c 65 63 74 | 61 62 6c 65 2d 73 76 6d |:.select|able-svm|
|000009b0| 20 6d 75 73 74 20 61 70 | 70 65 61 72 20 42 45 46 | must ap|pear BEF|
|000009c0| 4f 52 45 20 64 72 61 67 | 67 61 62 6c 65 2d 73 76 |ORE drag|gable-sv|
|000009d0| 6d 20 69 6e 20 74 68 65 | 20 63 6c 61 73 73 20 70 |m in the| class p|
|000009e0| 72 65 63 65 64 65 6e 63 | 65 0d 6c 69 73 74 20 28 |recedenc|e.list (|
|000009f0| 69 74 20 73 70 65 63 69 | 61 6c 69 7a 65 73 20 73 |it speci|alizes s|
|00000a00| 6f 6d 65 20 6f 66 20 64 | 72 61 67 67 61 62 6c 65 |ome of d|raggable|
|00000a10| 2d 73 76 6d 27 73 20 6d | 65 74 68 6f 64 73 29 2e |-svm's m|ethods).|
|00000a20| 20 4b 65 65 70 20 74 68 | 69 73 20 69 6e 20 6d 69 | Keep th|is in mi|
|00000a30| 6e 64 0d 77 68 65 6e 20 | 75 73 69 6e 67 20 73 65 |nd.when |using se|
|00000a40| 6c 65 63 74 61 62 6c 65 | 2d 73 76 6d 20 77 69 74 |lectable|-svm wit|
|00000a50| 68 20 61 6e 79 20 69 74 | 65 6d 73 20 74 68 61 74 |h any it|ems that|
|00000a60| 20 69 6e 68 65 72 69 74 | 20 66 72 6f 6d 20 64 72 | inherit| from dr|
|00000a70| 61 67 67 61 62 6c 65 2d | 73 76 6d 0d 6c 69 6b 65 |aggable-|svm.like|
|00000a80| 20 64 72 6f 70 70 61 62 | 6c 65 2d 73 76 6d 2e 0d | droppab|le-svm..|
|00000a90| 0d 7c 23 0d 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |.|#.;;;;|;;;;;;;;|
|00000aa0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00000ab0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00000ac0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00000ad0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 0d 0d 28 64 65 66 |;;;;;;;;|;;..(def|
|00000ae0| 63 6c 61 73 73 20 73 65 | 6c 65 63 74 61 62 6c 65 |class se|lectable|
|00000af0| 2d 73 76 6d 20 28 29 0d | 20 20 28 28 73 65 6c 65 |-svm ().| ((sele|
|00000b00| 63 74 69 6f 6e 2d 63 6c | 75 73 74 65 72 20 20 20 |ction-cl|uster |
|00000b10| 20 20 20 3a 69 6e 69 74 | 61 72 67 20 3a 73 65 6c | :init|arg :sel|
|00000b20| 65 63 74 69 6f 6e 2d 63 | 6c 75 73 74 65 72 0d 20 |ection-c|luster. |
|00000b30| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000b40| 20 20 20 20 20 20 20 20 | 20 20 3a 61 63 63 65 73 | | :acces|
|00000b50| 73 6f 72 20 73 65 6c 65 | 63 74 69 6f 6e 2d 63 6c |sor sele|ction-cl|
|00000b60| 75 73 74 65 72 29 0d 20 | 20 20 28 73 65 6c 65 63 |uster). | (selec|
|00000b70| 74 65 64 2d 70 20 20 20 | 20 20 20 20 20 20 20 20 |ted-p | |
|00000b80| 20 20 3a 69 6e 69 74 61 | 72 67 20 3a 73 65 6c 65 | :inita|rg :sele|
|00000b90| 63 74 65 64 2d 70 0d 20 | 20 20 20 20 20 20 20 20 |cted-p. | |
|00000ba0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000bb0| 20 20 3a 61 63 63 65 73 | 73 6f 72 20 73 65 6c 65 | :acces|sor sele|
|00000bc0| 63 74 65 64 2d 70 29 0d | 20 20 20 28 61 6c 6c 2d |cted-p).| (all-|
|00000bd0| 64 72 61 67 2d 61 63 74 | 69 6f 6e 73 2d 70 20 20 |drag-act|ions-p |
|00000be0| 20 20 20 3a 69 6e 69 74 | 61 72 67 20 3a 61 6c 6c | :init|arg :all|
|00000bf0| 2d 64 72 61 67 2d 61 63 | 74 69 6f 6e 73 2d 70 0d |-drag-ac|tions-p.|
|00000c00| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000c10| 20 20 20 20 20 20 20 20 | 20 20 20 3a 61 63 63 65 | | :acce|
|00000c20| 73 73 6f 72 20 61 6c 6c | 2d 64 72 61 67 2d 61 63 |ssor all|-drag-ac|
|00000c30| 74 69 6f 6e 73 2d 70 29 | 0d 20 20 20 28 61 6c 6c |tions-p)|. (all|
|00000c40| 2d 64 72 61 67 2d 65 6e | 64 2d 61 63 74 69 6f 6e |-drag-en|d-action|
|00000c50| 73 2d 70 20 3a 69 6e 69 | 74 61 72 67 20 3a 61 6c |s-p :ini|targ :al|
|00000c60| 6c 2d 64 72 61 67 2d 65 | 6e 64 2d 61 63 74 69 6f |l-drag-e|nd-actio|
|00000c70| 6e 73 2d 70 0d 20 20 20 | 20 20 20 20 20 20 20 20 |ns-p. | |
|00000c80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000c90| 3a 61 63 63 65 73 73 6f | 72 20 61 6c 6c 2d 64 72 |:accesso|r all-dr|
|00000ca0| 61 67 2d 65 6e 64 2d 61 | 63 74 69 6f 6e 73 2d 70 |ag-end-a|ctions-p|
|00000cb0| 29 0d 20 20 20 28 61 6c | 6c 2d 64 72 6f 70 2d 61 |). (al|l-drop-a|
|00000cc0| 63 74 69 6f 6e 73 2d 70 | 20 20 20 20 20 3a 69 6e |ctions-p| :in|
|00000cd0| 69 74 61 72 67 20 3a 61 | 6c 6c 2d 64 72 6f 70 2d |itarg :a|ll-drop-|
|00000ce0| 61 63 74 69 6f 6e 73 2d | 70 0d 20 20 20 20 20 20 |actions-|p. |
|00000cf0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000d00| 20 20 20 20 20 3a 61 63 | 63 65 73 73 6f 72 20 61 | :ac|cessor a|
|00000d10| 6c 6c 2d 64 72 6f 70 2d | 61 63 74 69 6f 6e 73 2d |ll-drop-|actions-|
|00000d20| 70 29 29 0d 20 20 28 3a | 64 65 66 61 75 6c 74 2d |p)). (:|default-|
|00000d30| 69 6e 69 74 61 72 67 73 | 0d 20 20 20 20 3a 73 65 |initargs|. :se|
|00000d40| 6c 65 63 74 69 6f 6e 2d | 63 6c 75 73 74 65 72 20 |lection-|cluster |
|00000d50| 6e 69 6c 0d 20 20 20 20 | 3a 73 65 6c 65 63 74 65 |nil. |:selecte|
|00000d60| 64 2d 70 20 6e 69 6c 0d | 20 20 20 20 3a 61 6c 6c |d-p nil.| :all|
|00000d70| 2d 64 72 61 67 2d 61 63 | 74 69 6f 6e 73 2d 70 20 |-drag-ac|tions-p |
|00000d80| 74 0d 20 20 20 20 3a 61 | 6c 6c 2d 64 72 61 67 2d |t. :a|ll-drag-|
|00000d90| 65 6e 64 2d 61 63 74 69 | 6f 6e 73 2d 70 20 74 0d |end-acti|ons-p t.|
|00000da0| 20 20 20 20 3a 61 6c 6c | 2d 64 72 6f 70 2d 61 63 | :all|-drop-ac|
|00000db0| 74 69 6f 6e 73 2d 70 20 | 74 0d 20 20 20 20 29 29 |tions-p |t. ))|
|00000dc0| 0d 0d 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |..;;;;;;|;;;;;;;;|
|00000dd0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00000de0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00000df0| 3b 3b 3b 3b 0d 3b 3b 20 | 63 6c 69 63 6b 20 68 61 |;;;;.;; |click ha|
|00000e00| 6e 64 6c 69 6e 67 0d 0d | 28 64 65 66 6d 65 74 68 |ndling..|(defmeth|
|00000e10| 6f 64 20 76 69 65 77 2d | 63 6c 69 63 6b 2d 65 76 |od view-|click-ev|
|00000e20| 65 6e 74 2d 68 61 6e 64 | 6c 65 72 20 3a 62 65 66 |ent-hand|ler :bef|
|00000e30| 6f 72 65 20 28 28 73 76 | 20 73 65 6c 65 63 74 61 |ore ((sv| selecta|
|00000e40| 62 6c 65 2d 73 76 6d 29 | 20 77 68 65 72 65 29 0d |ble-svm)| where).|
|00000e50| 20 20 28 64 65 63 6c 61 | 72 65 20 28 69 67 6e 6f | (decla|re (igno|
|00000e60| 72 65 20 77 68 65 72 65 | 29 29 0d 20 20 28 77 69 |re where|)). (wi|
|00000e70| 74 68 2d 66 6f 63 75 73 | 65 64 2d 76 69 65 77 20 |th-focus|ed-view |
|00000e80| 28 66 6f 63 75 73 69 6e | 67 2d 76 69 65 77 20 73 |(focusin|g-view s|
|00000e90| 76 29 0d 20 20 20 20 28 | 69 66 20 28 73 65 6c 65 |v). (|if (sele|
|00000ea0| 63 74 65 64 2d 70 20 73 | 76 29 0d 20 20 20 20 20 |cted-p s|v). |
|00000eb0| 20 28 63 6c 69 63 6b 2d | 73 65 6c 65 63 74 65 64 | (click-|selected|
|00000ec0| 2d 69 74 65 6d 20 73 76 | 20 28 73 68 69 66 74 2d |-item sv| (shift-|
|00000ed0| 6b 65 79 2d 70 29 29 0d | 20 20 20 20 20 20 28 63 |key-p)).| (c|
|00000ee0| 6c 69 63 6b 2d 75 6e 73 | 65 6c 65 63 74 65 64 2d |lick-uns|elected-|
|00000ef0| 69 74 65 6d 20 73 76 20 | 28 73 68 69 66 74 2d 6b |item sv |(shift-k|
|00000f00| 65 79 2d 70 29 29 29 29 | 29 0d 0d 28 64 65 66 6d |ey-p))))|)..(defm|
|00000f10| 65 74 68 6f 64 20 63 6c | 69 63 6b 2d 75 6e 73 65 |ethod cl|ick-unse|
|00000f20| 6c 65 63 74 65 64 2d 69 | 74 65 6d 20 28 28 73 76 |lected-i|tem ((sv|
|00000f30| 20 73 65 6c 65 63 74 61 | 62 6c 65 2d 73 76 6d 29 | selecta|ble-svm)|
|00000f40| 20 73 68 69 66 74 2d 70 | 29 0d 20 20 28 75 6e 6c | shift-p|). (unl|
|00000f50| 65 73 73 20 73 68 69 66 | 74 2d 70 20 28 64 65 73 |ess shif|t-p (des|
|00000f60| 65 6c 65 63 74 2d 61 6c | 6c 20 73 76 20 3a 64 72 |elect-al|l sv :dr|
|00000f70| 61 77 2d 6e 6f 77 2d 70 | 20 74 29 29 0d 20 20 28 |aw-now-p| t)). (|
|00000f80| 73 65 6c 65 63 74 2d 69 | 74 65 6d 20 73 76 20 3a |select-i|tem sv :|
|00000f90| 64 72 61 77 2d 6e 6f 77 | 2d 70 20 74 29 29 0d 0d |draw-now|-p t))..|
|00000fa0| 28 64 65 66 6d 65 74 68 | 6f 64 20 63 6c 69 63 6b |(defmeth|od click|
|00000fb0| 2d 73 65 6c 65 63 74 65 | 64 2d 69 74 65 6d 20 28 |-selecte|d-item (|
|00000fc0| 28 73 76 20 73 65 6c 65 | 63 74 61 62 6c 65 2d 73 |(sv sele|ctable-s|
|00000fd0| 76 6d 29 20 73 68 69 66 | 74 2d 70 29 0d 20 20 28 |vm) shif|t-p). (|
|00000fe0| 77 68 65 6e 20 73 68 69 | 66 74 2d 70 20 28 64 65 |when shi|ft-p (de|
|00000ff0| 73 65 6c 65 63 74 2d 69 | 74 65 6d 20 73 76 20 3a |select-i|tem sv :|
|00001000| 64 72 61 77 2d 6e 6f 77 | 2d 70 20 74 29 29 29 0d |draw-now|-p t))).|
|00001010| 0d 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |.;;;;;;;|;;;;;;;;|
|00001020| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00001030| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00001040| 3b 3b 3b 0d 3b 3b 20 64 | 72 61 77 69 6e 67 20 28 |;;;.;; d|rawing (|
|00001050| 68 69 6c 69 74 69 6e 67 | 29 0d 0d 28 64 65 66 6d |hiliting|)..(defm|
|00001060| 65 74 68 6f 64 20 76 69 | 65 77 2d 64 72 61 77 2d |ethod vi|ew-draw-|
|00001070| 63 6f 6e 74 65 6e 74 73 | 20 3a 61 66 74 65 72 20 |contents| :after |
|00001080| 28 28 73 76 20 73 65 6c | 65 63 74 61 62 6c 65 2d |((sv sel|ectable-|
|00001090| 73 76 6d 29 29 0d 20 20 | 28 77 68 65 6e 20 28 73 |svm)). |(when (s|
|000010a0| 65 6c 65 63 74 65 64 2d | 70 20 73 76 29 20 28 68 |elected-|p sv) (h|
|000010b0| 69 6c 69 74 65 2d 73 65 | 6c 65 63 74 65 64 2d 69 |ilite-se|lected-i|
|000010c0| 74 65 6d 20 73 76 20 74 | 29 29 29 0d 0d 28 64 65 |tem sv t|)))..(de|
|000010d0| 66 6d 65 74 68 6f 64 20 | 68 69 6c 69 74 65 2d 73 |fmethod |hilite-s|
|000010e0| 65 6c 65 63 74 65 64 2d | 69 74 65 6d 20 28 28 73 |elected-|item ((s|
|000010f0| 76 20 73 65 6c 65 63 74 | 61 62 6c 65 2d 73 76 6d |v select|able-svm|
|00001100| 29 20 68 69 6c 69 74 65 | 2d 66 6c 61 67 29 0d 20 |) hilite|-flag). |
|00001110| 20 28 77 69 74 68 2d 66 | 6f 63 75 73 65 64 2d 76 | (with-f|ocused-v|
|00001120| 69 65 77 20 28 66 6f 63 | 75 73 69 6e 67 2d 76 69 |iew (foc|using-vi|
|00001130| 65 77 20 73 76 29 0d 20 | 20 20 20 28 68 69 6c 69 |ew sv). | (hili|
|00001140| 74 65 2d 76 69 65 77 20 | 73 76 20 68 69 6c 69 74 |te-view |sv hilit|
|00001150| 65 2d 66 6c 61 67 29 29 | 29 0d 0d 3b 3b 3b 3b 3b |e-flag))|)..;;;;;|
|00001160| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00001170| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00001180| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 0d 3b 3b |;;;;;;;;|;;;;;.;;|
|00001190| 20 68 61 6e 64 6c 69 6e | 67 20 74 68 65 20 63 75 | handlin|g the cu|
|000011a0| 72 72 65 6e 74 20 73 65 | 6c 65 63 74 69 6f 6e 0d |rrent se|lection.|
|000011b0| 0d 28 64 65 66 6d 65 74 | 68 6f 64 20 6d 61 70 63 |.(defmet|hod mapc|
|000011c0| 2d 73 65 6c 65 63 74 61 | 62 6c 65 2d 63 6c 75 73 |-selecta|ble-clus|
|000011d0| 74 65 72 20 28 28 73 76 | 20 73 65 6c 65 63 74 61 |ter ((sv| selecta|
|000011e0| 62 6c 65 2d 73 76 6d 29 | 20 66 6e 20 26 6f 70 74 |ble-svm)| fn &opt|
|000011f0| 69 6f 6e 61 6c 20 73 65 | 6c 65 63 74 65 64 2d 6f |ional se|lected-o|
|00001200| 6e 6c 79 2d 70 29 0d 20 | 20 3b 3b 73 65 61 72 63 |nly-p). | ;;searc|
|00001210| 68 20 73 74 61 72 74 73 | 20 66 72 6f 6d 20 74 68 |h starts| from th|
|00001220| 65 20 69 74 65 6d 27 73 | 20 63 6f 6e 74 61 69 6e |e item's| contain|
|00001230| 65 72 0d 20 20 28 77 69 | 74 68 2d 73 6c 6f 74 73 |er. (wi|th-slots|
|00001240| 20 28 73 65 6c 65 63 74 | 69 6f 6e 2d 63 6c 75 73 | (select|ion-clus|
|00001250| 74 65 72 29 20 73 76 0d | 20 20 20 20 28 66 6c 65 |ter) sv.| (fle|
|00001260| 74 20 28 28 6d 61 70 2d | 66 6e 20 28 69 29 20 28 |t ((map-|fn (i) (|
|00001270| 77 68 65 6e 20 28 61 6e | 64 20 28 65 71 20 28 73 |when (an|d (eq (s|
|00001280| 65 6c 65 63 74 69 6f 6e | 2d 63 6c 75 73 74 65 72 |election|-cluster|
|00001290| 20 69 29 20 73 65 6c 65 | 63 74 69 6f 6e 2d 63 6c | i) sele|ction-cl|
|000012a0| 75 73 74 65 72 29 0d 20 | 20 20 20 20 20 20 20 20 |uster). | |
|000012b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000012c0| 20 20 20 20 20 20 20 20 | 20 28 6f 72 20 28 73 65 | | (or (se|
|000012d0| 6c 65 63 74 65 64 2d 70 | 20 69 29 20 28 6e 6f 74 |lected-p| i) (not|
|000012e0| 20 73 65 6c 65 63 74 65 | 64 2d 6f 6e 6c 79 2d 70 | selecte|d-only-p|
|000012f0| 29 29 29 0d 20 20 20 20 | 20 20 20 20 20 20 20 20 |))). | |
|00001300| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 28 66 75 | | (fu|
|00001310| 6e 63 61 6c 6c 20 66 6e | 20 69 29 29 29 29 0d 20 |ncall fn| i)))). |
|00001320| 20 20 20 20 20 28 64 65 | 63 6c 61 72 65 20 28 64 | (de|clare (d|
|00001330| 79 6e 61 6d 69 63 2d 65 | 78 74 65 6e 74 20 23 27 |ynamic-e|xtent #'|
|00001340| 6d 61 70 2d 66 6e 29 29 | 0d 20 20 20 20 20 20 28 |map-fn))|. (|
|00001350| 6d 61 70 2d 73 75 62 76 | 69 65 77 73 20 28 76 69 |map-subv|iews (vi|
|00001360| 65 77 2d 63 6f 6e 74 61 | 69 6e 65 72 20 73 76 29 |ew-conta|iner sv)|
|00001370| 20 23 27 6d 61 70 2d 66 | 6e 20 27 73 65 6c 65 63 | #'map-f|n 'selec|
|00001380| 74 61 62 6c 65 2d 73 76 | 6d 29 29 29 29 0d 20 20 |table-sv|m)))). |
|00001390| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000013a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 0d 0d 28 | | ..(|
|000013b0| 64 65 66 6d 65 74 68 6f | 64 20 73 65 6c 65 63 74 |defmetho|d select|
|000013c0| 65 64 2d 69 74 65 6d 73 | 20 28 28 73 76 20 73 65 |ed-items| ((sv se|
|000013d0| 6c 65 63 74 61 62 6c 65 | 2d 73 76 6d 29 29 0d 20 |lectable|-svm)). |
|000013e0| 20 22 28 73 76 20 73 65 | 6c 65 63 74 61 62 6c 65 | "(sv se|lectable|
|000013f0| 2d 73 76 6d 29 0d 52 65 | 74 75 72 6e 73 20 61 20 |-svm).Re|turns a |
|00001400| 6c 69 73 74 20 6f 66 20 | 61 6c 6c 20 74 68 65 20 |list of |all the |
|00001410| 73 65 6c 65 63 74 65 64 | 20 69 74 65 6d 73 20 69 |selected| items i|
|00001420| 6e 20 64 69 27 73 20 63 | 6c 75 73 74 65 72 22 0d |n di's c|luster".|
|00001430| 20 20 28 6c 65 74 20 28 | 28 69 74 65 6d 2d 6c 69 | (let (|(item-li|
|00001440| 73 74 20 6e 69 6c 29 29 | 0d 20 20 20 20 28 66 6c |st nil))|. (fl|
|00001450| 65 74 20 28 28 66 6e 20 | 28 69 29 20 28 70 75 73 |et ((fn |(i) (pus|
|00001460| 68 20 69 20 69 74 65 6d | 2d 6c 69 73 74 29 29 29 |h i item|-list)))|
|00001470| 0d 20 20 20 20 20 20 28 | 64 65 63 6c 61 72 65 20 |. (|declare |
|00001480| 28 64 79 6e 61 6d 69 63 | 2d 65 78 74 65 6e 74 20 |(dynamic|-extent |
|00001490| 23 27 66 6e 29 29 0d 20 | 20 20 20 20 20 28 6d 61 |#'fn)). | (ma|
|000014a0| 70 63 2d 73 65 6c 65 63 | 74 61 62 6c 65 2d 63 6c |pc-selec|table-cl|
|000014b0| 75 73 74 65 72 20 73 76 | 20 23 27 66 6e 20 74 29 |uster sv| #'fn t)|
|000014c0| 0d 20 20 20 20 20 20 28 | 6e 72 65 76 65 72 73 65 |. (|nreverse|
|000014d0| 20 69 74 65 6d 2d 6c 69 | 73 74 29 29 29 29 0d 0d | item-li|st))))..|
|000014e0| 28 64 65 66 6d 65 74 68 | 6f 64 20 28 73 65 74 66 |(defmeth|od (setf|
|000014f0| 20 73 65 6c 65 63 74 65 | 64 2d 69 74 65 6d 73 29 | selecte|d-items)|
|00001500| 20 28 69 74 65 6d 73 20 | 28 73 76 20 73 65 6c 65 | (items |(sv sele|
|00001510| 63 74 61 62 6c 65 2d 73 | 76 6d 29 29 0d 20 20 28 |ctable-s|vm)). (|
|00001520| 77 69 74 68 6f 75 74 2d | 69 6e 74 65 72 72 75 70 |without-|interrup|
|00001530| 74 73 0d 20 20 20 28 64 | 65 73 65 6c 65 63 74 2d |ts. (d|eselect-|
|00001540| 61 6c 6c 20 73 76 29 0d | 20 20 20 28 64 6f 6c 69 |all sv).| (doli|
|00001550| 73 74 20 28 69 20 69 74 | 65 6d 73 29 20 28 73 65 |st (i it|ems) (se|
|00001560| 6c 65 63 74 2d 69 74 65 | 6d 20 69 29 29 29 29 0d |lect-ite|m i)))).|
|00001570| 0d 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 0d 3b 3b 4e 6f |.;;;;;;;|;;;.;;No|
|00001580| 74 65 3a 20 74 68 65 20 | 64 72 61 77 2d 6e 6f 77 |te: the |draw-now|
|00001590| 2d 70 20 69 73 20 70 72 | 6f 76 69 64 65 64 20 66 |-p is pr|ovided f|
|000015a0| 6f 72 20 75 73 69 6e 67 | 20 74 68 65 73 65 20 6d |or using| these m|
|000015b0| 65 74 68 6f 64 73 20 61 | 74 0d 3b 3b 69 6e 74 65 |ethods a|t.;;inte|
|000015c0| 72 72 75 70 74 20 74 69 | 6d 65 20 28 65 2e 67 2e |rrupt ti|me (e.g.|
|000015d0| 20 64 75 72 69 6e 67 20 | 63 6c 69 63 6b 20 65 76 | during |click ev|
|000015e0| 65 6e 74 20 68 61 6e 64 | 6c 69 6e 67 29 2e 20 4e |ent hand|ling). N|
|000015f0| 6f 72 6d 61 6c 6c 79 20 | 79 6f 75 0d 3b 3b 73 68 |ormally |you.;;sh|
|00001600| 6f 75 6c 64 20 6c 65 74 | 20 64 72 61 77 2d 6e 6f |ould let| draw-no|
|00001610| 77 2d 70 20 64 65 66 61 | 75 6c 74 20 74 6f 20 6e |w-p defa|ult to n|
|00001620| 69 6c 2e 20 49 66 20 79 | 6f 75 20 75 73 65 20 61 |il. If y|ou use a|
|00001630| 20 6e 6f 6e 2d 6e 69 6c | 0d 3b 3b 64 72 61 77 2d | non-nil|.;;draw-|
|00001640| 6e 6f 77 2d 70 2c 20 6d | 61 6b 65 20 73 75 72 65 |now-p, m|ake sure|
|00001650| 20 74 68 65 20 63 75 72 | 72 65 6e 74 20 76 69 65 | the cur|rent vie|
|00001660| 77 20 69 73 20 66 6f 63 | 75 73 65 64 20 74 6f 20 |w is foc|used to |
|00001670| 74 68 65 20 69 74 65 6d | 27 73 0d 3b 3b 63 6f 6e |the item|'s.;;con|
|00001680| 74 61 69 6e 65 72 2e 0d | 0d 28 64 65 66 6d 65 74 |tainer..|.(defmet|
|00001690| 68 6f 64 20 73 65 6c 65 | 63 74 2d 69 74 65 6d 20 |hod sele|ct-item |
|000016a0| 28 28 73 76 20 73 65 6c | 65 63 74 61 62 6c 65 2d |((sv sel|ectable-|
|000016b0| 73 76 6d 29 20 26 6b 65 | 79 20 64 72 61 77 2d 6e |svm) &ke|y draw-n|
|000016c0| 6f 77 2d 70 29 0d 20 20 | 28 75 6e 6c 65 73 73 20 |ow-p). |(unless |
|000016d0| 28 73 65 6c 65 63 74 65 | 64 2d 70 20 73 76 29 0d |(selecte|d-p sv).|
|000016e0| 20 20 20 20 28 73 65 74 | 66 20 28 73 65 6c 65 63 | (set|f (selec|
|000016f0| 74 65 64 2d 70 20 73 76 | 29 20 74 29 0d 20 20 20 |ted-p sv|) t). |
|00001700| 20 28 69 66 20 64 72 61 | 77 2d 6e 6f 77 2d 70 0d | (if dra|w-now-p.|
|00001710| 20 20 20 20 20 20 28 68 | 69 6c 69 74 65 2d 73 65 | (h|ilite-se|
|00001720| 6c 65 63 74 65 64 2d 69 | 74 65 6d 20 73 76 20 74 |lected-i|tem sv t|
|00001730| 29 0d 20 20 20 20 20 20 | 28 69 6e 76 61 6c 69 64 |). |(invalid|
|00001740| 61 74 65 2d 76 69 65 77 | 20 73 76 20 74 29 29 29 |ate-view| sv t)))|
|00001750| 29 0d 0d 28 64 65 66 6d | 65 74 68 6f 64 20 64 65 |)..(defm|ethod de|
|00001760| 73 65 6c 65 63 74 2d 69 | 74 65 6d 20 28 28 73 76 |select-i|tem ((sv|
|00001770| 20 73 65 6c 65 63 74 61 | 62 6c 65 2d 73 76 6d 29 | selecta|ble-svm)|
|00001780| 20 26 6b 65 79 20 64 72 | 61 77 2d 6e 6f 77 2d 70 | &key dr|aw-now-p|
|00001790| 29 0d 20 20 28 77 68 65 | 6e 20 28 73 65 6c 65 63 |). (whe|n (selec|
|000017a0| 74 65 64 2d 70 20 73 76 | 29 0d 20 20 20 20 28 73 |ted-p sv|). (s|
|000017b0| 65 74 66 20 28 73 65 6c | 65 63 74 65 64 2d 70 20 |etf (sel|ected-p |
|000017c0| 73 76 29 20 6e 69 6c 29 | 0d 20 20 20 20 28 69 66 |sv) nil)|. (if|
|000017d0| 20 64 72 61 77 2d 6e 6f | 77 2d 70 0d 20 20 20 20 | draw-no|w-p. |
|000017e0| 20 20 28 68 69 6c 69 74 | 65 2d 73 65 6c 65 63 74 | (hilit|e-select|
|000017f0| 65 64 2d 69 74 65 6d 20 | 73 76 20 6e 69 6c 29 0d |ed-item |sv nil).|
|00001800| 20 20 20 20 20 20 28 69 | 6e 76 61 6c 69 64 61 74 | (i|nvalidat|
|00001810| 65 2d 76 69 65 77 20 73 | 76 20 74 29 29 29 29 0d |e-view s|v t)))).|
|00001820| 0d 28 64 65 66 6d 65 74 | 68 6f 64 20 64 65 73 65 |.(defmet|hod dese|
|00001830| 6c 65 63 74 2d 61 6c 6c | 20 28 28 73 76 20 73 65 |lect-all| ((sv se|
|00001840| 6c 65 63 74 61 62 6c 65 | 2d 73 76 6d 29 20 26 6b |lectable|-svm) &k|
|00001850| 65 79 20 64 72 61 77 2d | 6e 6f 77 2d 70 29 0d 20 |ey draw-|now-p). |
|00001860| 20 28 66 6c 65 74 20 28 | 28 66 6e 20 28 69 29 20 | (flet (|(fn (i) |
|00001870| 28 64 65 73 65 6c 65 63 | 74 2d 69 74 65 6d 20 69 |(deselec|t-item i|
|00001880| 20 3a 64 72 61 77 2d 6e | 6f 77 2d 70 20 64 72 61 | :draw-n|ow-p dra|
|00001890| 77 2d 6e 6f 77 2d 70 29 | 29 29 0d 20 20 20 20 28 |w-now-p)|)). (|
|000018a0| 64 65 63 6c 61 72 65 20 | 28 64 79 6e 61 6d 69 63 |declare |(dynamic|
|000018b0| 2d 65 78 74 65 6e 74 20 | 23 27 66 6e 29 29 0d 20 |-extent |#'fn)). |
|000018c0| 20 20 20 28 6d 61 70 63 | 2d 73 65 6c 65 63 74 61 | (mapc|-selecta|
|000018d0| 62 6c 65 2d 63 6c 75 73 | 74 65 72 20 73 76 20 23 |ble-clus|ter sv #|
|000018e0| 27 66 6e 20 74 29 29 29 | 0d 0d 3b 3b 3b 3b 3b 3b |'fn t)))|..;;;;;;|
|000018f0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00001900| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00001910| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 0d 3b 3b 73 |;;;;;;;;|;;;;.;;s|
|00001920| 70 65 63 69 61 6c 69 7a | 61 74 69 6f 6e 73 20 66 |pecializ|ations f|
|00001930| 6f 72 20 68 61 6e 64 6c | 69 6e 67 20 64 72 61 67 |or handl|ing drag|
|00001940| 67 69 6e 67 20 73 65 6c | 65 63 74 69 6f 6e 73 0d |ging sel|ections.|
|00001950| 0d 28 64 65 63 6c 61 69 | 6d 20 28 66 74 79 70 65 |.(declai|m (ftype|
|00001960| 20 28 66 75 6e 63 74 69 | 6f 6e 20 28 26 72 65 73 | (functi|on (&res|
|00001970| 74 20 74 29 20 74 29 0d | 20 20 20 20 20 20 20 20 |t t) t).| |
|00001980| 20 20 20 20 20 20 20 20 | 64 72 6f 70 2d 61 63 74 | |drop-act|
|00001990| 69 6f 6e 0d 20 20 20 20 | 20 20 20 20 20 20 20 20 |ion. | |
|000019a0| 20 20 20 20 64 72 61 67 | 2d 61 63 74 69 6f 6e 0d | drag|-action.|
|000019b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000019c0| 64 72 61 67 2d 65 6e 64 | 2d 61 63 74 69 6f 6e 0d |drag-end|-action.|
|000019d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000019e0| 73 65 74 2d 64 72 61 67 | 2d 6f 75 74 6c 69 6e 65 |set-drag|-outline|
|000019f0| 2d 72 67 6e 29 29 0d 0d | 28 64 65 66 6d 65 74 68 |-rgn))..|(defmeth|
|00001a00| 6f 64 20 73 65 74 2d 44 | 72 61 67 47 72 61 79 52 |od set-D|ragGrayR|
|00001a10| 67 6e 2d 61 72 65 61 73 | 20 3a 61 66 74 65 72 20 |gn-areas| :after |
|00001a20| 28 28 73 76 20 73 65 6c | 65 63 74 61 62 6c 65 2d |((sv sel|ectable-|
|00001a30| 73 76 6d 29 20 77 68 65 | 72 65 20 64 72 61 67 2d |svm) whe|re drag-|
|00001a40| 72 67 6e 20 6c 69 6d 69 | 74 52 65 63 74 20 73 6c |rgn limi|tRect sl|
|00001a50| 6f 70 52 65 63 74 29 0d | 20 20 3b 3b 73 70 65 63 |opRect).| ;;spec|
|00001a60| 69 61 6c 69 7a 65 20 74 | 68 65 20 64 72 61 67 2d |ialize t|he drag-|
|00001a70| 72 67 6e 20 74 6f 20 62 | 65 20 74 68 65 20 75 6e |rgn to b|e the un|
|00001a80| 69 6f 6e 20 6f 66 20 61 | 6c 6c 20 73 65 6c 65 63 |ion of a|ll selec|
|00001a90| 74 65 64 20 69 74 65 6d | 73 0d 20 20 28 64 65 63 |ted item|s. (dec|
|00001aa0| 6c 61 72 65 20 28 69 67 | 6e 6f 72 65 20 77 68 65 |lare (ig|nore whe|
|00001ab0| 72 65 20 6c 69 6d 69 74 | 52 65 63 74 20 73 6c 6f |re limit|Rect slo|
|00001ac0| 70 52 65 63 74 29 29 0d | 20 20 28 77 69 74 68 2d |pRect)).| (with-|
|00001ad0| 6d 61 63 70 74 72 73 20 | 28 28 74 65 6d 70 2d 72 |macptrs |((temp-r|
|00001ae0| 67 6e 20 28 23 5f 4e 65 | 77 52 67 6e 29 29 29 0d |gn (#_Ne|wRgn))).|
|00001af0| 20 20 20 20 28 66 6c 65 | 74 20 28 28 61 64 64 2d | (fle|t ((add-|
|00001b00| 72 67 6e 20 28 69 29 0d | 20 20 20 20 20 20 20 20 |rgn (i).| |
|00001b10| 20 20 20 20 20 28 73 65 | 74 2d 64 72 61 67 2d 6f | (se|t-drag-o|
|00001b20| 75 74 6c 69 6e 65 2d 72 | 67 6e 20 69 20 74 65 6d |utline-r|gn i tem|
|00001b30| 70 2d 72 67 6e 29 0d 20 | 20 20 20 20 20 20 20 20 |p-rgn). | |
|00001b40| 20 20 20 20 28 23 5f 55 | 6e 69 6f 6e 52 67 6e 20 | (#_U|nionRgn |
|00001b50| 74 65 6d 70 2d 72 67 6e | 20 64 72 61 67 2d 72 67 |temp-rgn| drag-rg|
|00001b60| 6e 20 64 72 61 67 2d 72 | 67 6e 29 29 29 0d 20 20 |n drag-r|gn))). |
|00001b70| 20 20 20 20 28 64 65 63 | 6c 61 72 65 20 28 64 79 | (dec|lare (dy|
|00001b80| 6e 61 6d 69 63 2d 65 78 | 74 65 6e 74 20 23 27 61 |namic-ex|tent #'a|
|00001b90| 64 64 2d 72 67 6e 29 29 | 0d 20 20 20 20 20 20 28 |dd-rgn))|. (|
|00001ba0| 6d 61 70 63 2d 73 65 6c | 65 63 74 61 62 6c 65 2d |mapc-sel|ectable-|
|00001bb0| 63 6c 75 73 74 65 72 20 | 73 76 20 23 27 61 64 64 |cluster |sv #'add|
|00001bc0| 2d 72 67 6e 20 74 29 29 | 0d 20 20 20 20 28 23 5f |-rgn t))|. (#_|
|00001bd0| 44 69 73 70 6f 73 65 52 | 67 6e 20 74 65 6d 70 2d |DisposeR|gn temp-|
|00001be0| 72 67 6e 29 29 29 0d 0d | 28 64 65 66 6d 65 74 68 |rgn)))..|(defmeth|
|00001bf0| 6f 64 20 64 72 61 67 67 | 61 62 6c 65 2d 70 20 28 |od dragg|able-p (|
|00001c00| 28 73 76 20 73 65 6c 65 | 63 74 61 62 6c 65 2d 73 |(sv sele|ctable-s|
|00001c10| 76 6d 29 29 0d 20 20 3b | 3b 4d 75 73 74 20 63 68 |vm)). ;|;Must ch|
|00001c20| 65 63 6b 20 69 66 20 74 | 68 65 20 69 74 65 6d 20 |eck if t|he item |
|00001c30| 69 73 20 73 65 6c 65 63 | 74 65 64 20 62 65 66 6f |is selec|ted befo|
|00001c40| 72 65 20 61 6c 6c 6f 77 | 69 6e 67 20 64 72 61 67 |re allow|ing drag|
|00001c50| 67 69 6e 67 2e 20 4e 6f | 72 6d 61 6c 6c 79 20 74 |ging. No|rmally t|
|00001c60| 68 69 73 0d 20 20 3b 3b | 69 73 6e 27 74 20 6e 65 |his. ;;|isn't ne|
|00001c70| 65 64 65 64 20 63 61 75 | 73 65 20 74 68 65 20 63 |eded cau|se the c|
|00001c80| 6c 69 63 6b 20 73 65 6c | 65 63 74 73 20 74 68 65 |lick sel|ects the|
|00001c90| 20 69 74 65 6d 2c 20 62 | 75 74 20 61 20 73 68 69 | item, b|ut a shi|
|00001ca0| 66 74 2d 63 6c 69 63 6b | 20 63 61 6e 20 64 65 2d |ft-click| can de-|
|00001cb0| 73 65 6c 65 63 74 2e 0d | 20 20 28 61 6e 64 20 28 |select..| (and (|
|00001cc0| 73 65 6c 65 63 74 65 64 | 2d 70 20 73 76 29 20 28 |selected|-p sv) (|
|00001cd0| 63 61 6c 6c 2d 6e 65 78 | 74 2d 6d 65 74 68 6f 64 |call-nex|t-method|
|00001ce0| 29 29 29 0d 0d 28 64 65 | 66 6d 65 74 68 6f 64 20 |)))..(de|fmethod |
|00001cf0| 70 72 65 2d 64 72 61 67 | 2d 68 69 6c 69 74 65 20 |pre-drag|-hilite |
|00001d00| 28 28 73 76 20 73 65 6c | 65 63 74 61 62 6c 65 2d |((sv sel|ectable-|
|00001d10| 73 76 6d 29 20 68 69 6c | 69 74 65 2d 66 6c 61 67 |svm) hil|ite-flag|
|00001d20| 29 0d 20 20 3b 3b 73 65 | 6c 65 63 74 61 62 6c 65 |). ;;se|lectable|
|00001d30| 20 69 74 65 6d 73 20 61 | 6c 72 65 61 64 79 20 68 | items a|lready h|
|00001d40| 69 6c 69 74 65 20 77 68 | 65 6e 20 63 6c 69 63 6b |ilite wh|en click|
|00001d50| 65 64 20 2d 20 73 6f 20 | 64 6f 20 6e 6f 74 68 69 |ed - so |do nothi|
|00001d60| 6e 67 0d 20 20 28 64 65 | 63 6c 61 72 65 20 28 69 |ng. (de|clare (i|
|00001d70| 67 6e 6f 72 65 20 73 76 | 20 68 69 6c 69 74 65 2d |gnore sv| hilite-|
|00001d80| 66 6c 61 67 29 29 29 0d | 0d 28 64 65 66 6d 65 74 |flag))).|.(defmet|
|00001d90| 68 6f 64 20 64 72 61 67 | 2d 69 74 65 6d 20 28 28 |hod drag|-item ((|
|00001da0| 73 76 20 73 65 6c 65 63 | 74 61 62 6c 65 2d 73 76 |sv selec|table-sv|
|00001db0| 6d 29 20 77 68 65 72 65 | 29 0d 20 20 3b 3b 2a 63 |m) where|). ;;*c|
|00001dc0| 75 72 72 65 6e 74 2d 64 | 72 61 67 2d 73 65 6c 65 |urrent-d|rag-sele|
|00001dd0| 63 74 69 6f 6e 2a 20 69 | 73 20 62 6f 75 6e 64 20 |ction* i|s bound |
|00001de0| 66 6f 72 20 74 68 65 20 | 64 75 72 61 74 69 6f 6e |for the |duration|
|00001df0| 20 6f 66 20 74 68 65 20 | 64 72 61 67 2c 20 0d 20 | of the |drag, . |
|00001e00| 20 3b 3b 73 6f 20 64 72 | 6f 70 70 61 62 6c 65 2d | ;;so dr|oppable-|
|00001e10| 70 20 77 6f 6e 27 74 20 | 68 61 76 65 20 74 6f 20 |p won't |have to |
|00001e20| 72 65 70 65 61 74 65 64 | 6c 79 20 63 6f 6d 70 75 |repeated|ly compu|
|00001e30| 74 65 20 74 68 65 20 63 | 75 72 72 65 6e 74 20 73 |te the c|urrent s|
|00001e40| 65 6c 65 63 74 69 6f 6e | 2e 0d 20 20 28 64 65 63 |election|.. (dec|
|00001e50| 6c 61 72 65 20 28 69 67 | 6e 6f 72 65 20 77 68 65 |lare (ig|nore whe|
|00001e60| 72 65 29 29 0d 20 20 28 | 6c 65 74 20 28 28 2a 63 |re)). (|let ((*c|
|00001e70| 75 72 72 65 6e 74 2d 64 | 72 61 67 2d 73 65 6c 65 |urrent-d|rag-sele|
|00001e80| 63 74 69 6f 6e 2a 20 28 | 73 65 6c 65 63 74 65 64 |ction* (|selected|
|00001e90| 2d 69 74 65 6d 73 20 73 | 76 29 29 29 0d 20 20 20 |-items s|v))). |
|00001ea0| 20 28 64 65 63 6c 61 72 | 65 20 28 73 70 65 63 69 | (declar|e (speci|
|00001eb0| 61 6c 20 2a 63 75 72 72 | 65 6e 74 2d 64 72 61 67 |al *curr|ent-drag|
|00001ec0| 2d 73 65 6c 65 63 74 69 | 6f 6e 2a 29 29 0d 20 20 |-selecti|on*)). |
|00001ed0| 20 20 28 63 61 6c 6c 2d | 6e 65 78 74 2d 6d 65 74 | (call-|next-met|
|00001ee0| 68 6f 64 29 29 29 0d 0d | 28 64 65 66 6d 65 74 68 |hod)))..|(defmeth|
|00001ef0| 6f 64 20 64 72 6f 70 70 | 61 62 6c 65 2d 70 20 28 |od dropp|able-p (|
|00001f00| 28 73 76 20 73 65 6c 65 | 63 74 61 62 6c 65 2d 73 |(sv sele|ctable-s|
|00001f10| 76 6d 29 20 28 74 61 72 | 67 65 74 20 73 69 6d 70 |vm) (tar|get simp|
|00001f20| 6c 65 2d 76 69 65 77 29 | 29 0d 20 20 3b 3b 64 69 |le-view)|). ;;di|
|00001f30| 73 61 6c 6c 6f 77 20 64 | 72 6f 70 70 69 6e 67 20 |sallow d|ropping |
|00001f40| 6f 6e 20 61 6e 79 20 6d | 65 6d 62 65 72 20 6f 66 |on any m|ember of|
|00001f50| 20 63 75 72 72 65 6e 74 | 20 73 65 6c 65 63 74 69 | current| selecti|
|00001f60| 6f 6e 0d 20 20 28 64 65 | 63 6c 61 72 65 20 28 73 |on. (de|clare (s|
|00001f70| 70 65 63 69 61 6c 20 2a | 63 75 72 72 65 6e 74 2d |pecial *|current-|
|00001f80| 64 72 61 67 2d 73 65 6c | 65 63 74 69 6f 6e 2a 29 |drag-sel|ection*)|
|00001f90| 29 0d 20 20 28 75 6e 6c | 65 73 73 20 28 66 69 6e |). (unl|ess (fin|
|00001fa0| 64 20 74 61 72 67 65 74 | 20 2a 63 75 72 72 65 6e |d target| *curren|
|00001fb0| 74 2d 64 72 61 67 2d 73 | 65 6c 65 63 74 69 6f 6e |t-drag-s|election|
|00001fc0| 2a 29 0d 20 20 20 20 28 | 63 61 6c 6c 2d 6e 65 78 |*). (|call-nex|
|00001fd0| 74 2d 6d 65 74 68 6f 64 | 29 29 29 0d 0d 3b 3b 3b |t-method|)))..;;;|
|00001fe0| 3b 3b 3b 3b 3b 3b 3b 0d | 3b 3b 33 20 63 61 6c 6c |;;;;;;;.|;;3 call|
|00001ff0| 20 61 63 74 69 6f 6e 20 | 66 75 6e 63 74 69 6f 6e | action |function|
|00002000| 73 20 73 70 65 63 69 61 | 6c 69 7a 65 64 20 74 6f |s specia|lized to|
|00002010| 20 75 73 65 20 65 6e 74 | 69 72 65 20 73 65 6c 65 | use ent|ire sele|
|00002020| 63 74 69 6f 6e 0d 0d 28 | 64 65 66 6d 65 74 68 6f |ction..(|defmetho|
|00002030| 64 20 63 61 6c 6c 2d 64 | 72 61 67 2d 61 63 74 69 |d call-d|rag-acti|
|00002040| 6f 6e 20 28 28 73 76 20 | 73 65 6c 65 63 74 61 62 |on ((sv |selectab|
|00002050| 6c 65 2d 73 76 6d 29 29 | 0d 20 20 28 64 65 63 6c |le-svm))|. (decl|
|00002060| 61 72 65 20 28 73 70 65 | 63 69 61 6c 20 2a 63 75 |are (spe|cial *cu|
|00002070| 72 72 65 6e 74 2d 64 72 | 61 67 2d 73 65 6c 65 63 |rrent-dr|ag-selec|
|00002080| 74 69 6f 6e 2a 29 29 0d | 20 20 20 20 28 69 66 20 |tion*)).| (if |
|00002090| 28 73 6c 6f 74 2d 76 61 | 6c 75 65 20 73 76 20 27 |(slot-va|lue sv '|
|000020a0| 61 6c 6c 2d 64 72 61 67 | 2d 61 63 74 69 6f 6e 73 |all-drag|-actions|
|000020b0| 2d 70 29 0d 20 20 20 20 | 20 20 28 64 6f 6c 69 73 |-p). | (dolis|
|000020c0| 74 20 28 69 20 2a 63 75 | 72 72 65 6e 74 2d 64 72 |t (i *cu|rrent-dr|
|000020d0| 61 67 2d 73 65 6c 65 63 | 74 69 6f 6e 2a 29 20 28 |ag-selec|tion*) (|
|000020e0| 64 72 61 67 2d 61 63 74 | 69 6f 6e 20 69 29 29 0d |drag-act|ion i)).|
|000020f0| 20 20 20 20 20 20 28 64 | 72 61 67 2d 61 63 74 69 | (d|rag-acti|
|00002100| 6f 6e 20 73 76 29 29 29 | 0d 0d 28 64 65 66 6d 65 |on sv)))|..(defme|
|00002110| 74 68 6f 64 20 63 61 6c | 6c 2d 64 72 61 67 2d 65 |thod cal|l-drag-e|
|00002120| 6e 64 2d 61 63 74 69 6f | 6e 20 28 28 73 76 20 73 |nd-actio|n ((sv s|
|00002130| 65 6c 65 63 74 61 62 6c | 65 2d 73 76 6d 29 20 64 |electabl|e-svm) d|
|00002140| 72 61 67 2d 6f 66 66 73 | 65 74 20 64 65 73 74 2d |rag-offs|et dest-|
|00002150| 70 6f 69 6e 74 29 0d 20 | 20 28 69 66 20 28 73 6c |point). | (if (sl|
|00002160| 6f 74 2d 76 61 6c 75 65 | 20 73 76 20 27 61 6c 6c |ot-value| sv 'all|
|00002170| 2d 64 72 61 67 2d 65 6e | 64 2d 61 63 74 69 6f 6e |-drag-en|d-action|
|00002180| 73 2d 70 29 0d 20 20 20 | 20 28 66 6c 65 74 20 28 |s-p). | (flet (|
|00002190| 28 66 6e 20 28 69 29 20 | 28 64 72 61 67 2d 65 6e |(fn (i) |(drag-en|
|000021a0| 64 2d 61 63 74 69 6f 6e | 20 69 20 64 72 61 67 2d |d-action| i drag-|
|000021b0| 6f 66 66 73 65 74 20 64 | 65 73 74 2d 70 6f 69 6e |offset d|est-poin|
|000021c0| 74 29 29 29 0d 20 20 20 | 20 20 20 28 64 65 63 6c |t))). | (decl|
|000021d0| 61 72 65 20 28 64 79 6e | 61 6d 69 63 2d 65 78 74 |are (dyn|amic-ext|
|000021e0| 65 6e 74 20 23 27 66 6e | 29 29 0d 20 20 20 20 20 |ent #'fn|)). |
|000021f0| 20 28 6d 61 70 63 2d 73 | 65 6c 65 63 74 61 62 6c | (mapc-s|electabl|
|00002200| 65 2d 63 6c 75 73 74 65 | 72 20 73 76 20 23 27 66 |e-cluste|r sv #'f|
|00002210| 6e 20 74 29 29 0d 20 20 | 20 20 28 64 72 61 67 2d |n t)). | (drag-|
|00002220| 65 6e 64 2d 61 63 74 69 | 6f 6e 20 73 76 20 64 72 |end-acti|on sv dr|
|00002230| 61 67 2d 6f 66 66 73 65 | 74 20 64 65 73 74 2d 70 |ag-offse|t dest-p|
|00002240| 6f 69 6e 74 29 29 29 0d | 0d 28 64 65 66 6d 65 74 |oint))).|.(defmet|
|00002250| 68 6f 64 20 63 61 6c 6c | 2d 64 72 6f 70 2d 61 63 |hod call|-drop-ac|
|00002260| 74 69 6f 6e 20 28 28 73 | 76 20 73 65 6c 65 63 74 |tion ((s|v select|
|00002270| 61 62 6c 65 2d 73 76 6d | 29 20 28 74 61 72 67 65 |able-svm|) (targe|
|00002280| 74 20 73 69 6d 70 6c 65 | 2d 76 69 65 77 29 20 64 |t simple|-view) d|
|00002290| 72 61 67 2d 6f 66 66 73 | 65 74 20 64 65 73 74 2d |rag-offs|et dest-|
|000022a0| 70 6f 69 6e 74 29 0d 20 | 20 28 69 66 20 28 73 6c |point). | (if (sl|
|000022b0| 6f 74 2d 76 61 6c 75 65 | 20 73 76 20 27 61 6c 6c |ot-value| sv 'all|
|000022c0| 2d 64 72 61 67 2d 65 6e | 64 2d 61 63 74 69 6f 6e |-drag-en|d-action|
|000022d0| 73 2d 70 29 0d 20 20 20 | 20 28 66 6c 65 74 20 28 |s-p). | (flet (|
|000022e0| 28 66 6e 20 28 69 29 20 | 28 64 72 6f 70 2d 61 63 |(fn (i) |(drop-ac|
|000022f0| 74 69 6f 6e 20 69 20 74 | 61 72 67 65 74 20 64 72 |tion i t|arget dr|
|00002300| 61 67 2d 6f 66 66 73 65 | 74 20 64 65 73 74 2d 70 |ag-offse|t dest-p|
|00002310| 6f 69 6e 74 29 29 29 0d | 20 20 20 20 20 20 28 64 |oint))).| (d|
|00002320| 65 63 6c 61 72 65 20 28 | 64 79 6e 61 6d 69 63 2d |eclare (|dynamic-|
|00002330| 65 78 74 65 6e 74 20 23 | 27 66 6e 29 29 0d 20 20 |extent #|'fn)). |
|00002340| 20 20 20 20 28 6d 61 70 | 63 2d 73 65 6c 65 63 74 | (map|c-select|
|00002350| 61 62 6c 65 2d 63 6c 75 | 73 74 65 72 20 73 76 20 |able-clu|ster sv |
|00002360| 23 27 66 6e 20 74 29 29 | 0d 20 20 20 20 28 64 72 |#'fn t))|. (dr|
|00002370| 6f 70 2d 61 63 74 69 6f | 6e 20 73 76 20 74 61 72 |op-actio|n sv tar|
|00002380| 67 65 74 20 64 72 61 67 | 2d 6f 66 66 73 65 74 20 |get drag|-offset |
|00002390| 64 65 73 74 2d 70 6f 69 | 6e 74 29 29 29 0d 0d 0d |dest-poi|nt)))...|
|000023a0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000023b0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000023c0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000023d0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000023e0| 3b 3b 3b 3b 3b 3b 0d 3b | 3b 20 73 65 6c 65 63 74 |;;;;;;.;|; select|
|000023f0| 61 62 6c 65 20 76 69 65 | 77 73 20 77 69 74 68 20 |able vie|ws with |
|00002400| 72 61 64 69 6f 20 62 75 | 74 74 6f 6e 20 62 65 68 |radio bu|tton beh|
|00002410| 61 76 69 6f 72 0d 0d 28 | 64 65 66 63 6c 61 73 73 |avior..(|defclass|
|00002420| 20 73 65 6c 65 63 74 61 | 62 6c 65 2d 72 62 2d 73 | selecta|ble-rb-s|
|00002430| 76 6d 20 28 73 65 6c 65 | 63 74 61 62 6c 65 2d 73 |vm (sele|ctable-s|
|00002440| 76 6d 29 20 28 29 29 0d | 0d 28 64 65 66 6d 65 74 |vm) ()).|.(defmet|
|00002450| 68 6f 64 20 63 6c 69 63 | 6b 2d 75 6e 73 65 6c 65 |hod clic|k-unsele|
|00002460| 63 74 65 64 2d 69 74 65 | 6d 20 28 28 73 76 20 73 |cted-ite|m ((sv s|
|00002470| 65 6c 65 63 74 61 62 6c | 65 2d 72 62 2d 73 76 6d |electabl|e-rb-svm|
|00002480| 29 20 73 68 69 66 74 2d | 70 29 0d 20 20 28 64 65 |) shift-|p). (de|
|00002490| 63 6c 61 72 65 20 28 69 | 67 6e 6f 72 65 20 73 68 |clare (i|gnore sh|
|000024a0| 69 66 74 2d 70 29 29 0d | 20 20 28 64 65 73 65 6c |ift-p)).| (desel|
|000024b0| 65 63 74 2d 61 6c 6c 20 | 73 76 20 3a 64 72 61 77 |ect-all |sv :draw|
|000024c0| 2d 6e 6f 77 2d 70 20 74 | 29 0d 20 20 28 73 65 6c |-now-p t|). (sel|
|000024d0| 65 63 74 2d 69 74 65 6d | 20 73 76 20 3a 64 72 61 |ect-item| sv :dra|
|000024e0| 77 2d 6e 6f 77 2d 70 20 | 74 29 29 0d 0d 28 64 65 |w-now-p |t))..(de|
|000024f0| 66 6d 65 74 68 6f 64 20 | 63 6c 69 63 6b 2d 73 65 |fmethod |click-se|
|00002500| 6c 65 63 74 65 64 2d 69 | 74 65 6d 20 28 28 73 76 |lected-i|tem ((sv|
|00002510| 20 73 65 6c 65 63 74 61 | 62 6c 65 2d 72 62 2d 73 | selecta|ble-rb-s|
|00002520| 76 6d 29 20 73 68 69 66 | 74 2d 70 29 0d 20 20 28 |vm) shif|t-p). (|
|00002530| 64 65 63 6c 61 72 65 20 | 28 69 67 6e 6f 72 65 20 |declare |(ignore |
|00002540| 73 76 20 73 68 69 66 74 | 2d 70 29 29 29 0d 0d 0d |sv shift|-p)))...|
|00002550| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00002560| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00002570| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00002580| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00002590| 3b 3b 3b 3b 3b 3b 0d 3b | 3b 20 73 65 6c 65 63 74 |;;;;;;.;|; select|
|000025a0| 61 62 6c 65 20 76 69 65 | 77 73 20 77 69 74 68 20 |able vie|ws with |
|000025b0| 63 68 65 63 6b 20 62 6f | 78 20 62 65 68 61 76 69 |check bo|x behavi|
|000025c0| 6f 72 0d 0d 28 64 65 66 | 63 6c 61 73 73 20 73 65 |or..(def|class se|
|000025d0| 6c 65 63 74 61 62 6c 65 | 2d 63 62 2d 73 76 6d 20 |lectable|-cb-svm |
|000025e0| 28 73 65 6c 65 63 74 61 | 62 6c 65 2d 73 76 6d 29 |(selecta|ble-svm)|
|000025f0| 20 28 29 29 0d 0d 28 64 | 65 66 6d 65 74 68 6f 64 | ())..(d|efmethod|
|00002600| 20 63 6c 69 63 6b 2d 75 | 6e 73 65 6c 65 63 74 65 | click-u|nselecte|
|00002610| 64 2d 69 74 65 6d 20 28 | 28 73 76 20 73 65 6c 65 |d-item (|(sv sele|
|00002620| 63 74 61 62 6c 65 2d 63 | 62 2d 73 76 6d 29 20 73 |ctable-c|b-svm) s|
|00002630| 68 69 66 74 2d 70 29 0d | 20 20 28 64 65 63 6c 61 |hift-p).| (decla|
|00002640| 72 65 20 28 69 67 6e 6f | 72 65 20 73 68 69 66 74 |re (igno|re shift|
|00002650| 2d 70 29 29 0d 20 20 28 | 73 65 6c 65 63 74 2d 69 |-p)). (|select-i|
|00002660| 74 65 6d 20 73 76 20 3a | 64 72 61 77 2d 6e 6f 77 |tem sv :|draw-now|
|00002670| 2d 70 20 74 29 29 0d 0d | 28 64 65 66 6d 65 74 68 |-p t))..|(defmeth|
|00002680| 6f 64 20 63 6c 69 63 6b | 2d 73 65 6c 65 63 74 65 |od click|-selecte|
|00002690| 64 2d 69 74 65 6d 20 28 | 28 73 76 20 73 65 6c 65 |d-item (|(sv sele|
|000026a0| 63 74 61 62 6c 65 2d 63 | 62 2d 73 76 6d 29 20 73 |ctable-c|b-svm) s|
|000026b0| 68 69 66 74 2d 70 29 0d | 20 20 28 64 65 63 6c 61 |hift-p).| (decla|
|000026c0| 72 65 20 28 69 67 6e 6f | 72 65 20 73 68 69 66 74 |re (igno|re shift|
|000026d0| 2d 70 29 29 0d 20 20 28 | 64 65 73 65 6c 65 63 74 |-p)). (|deselect|
|000026e0| 2d 69 74 65 6d 20 73 76 | 20 3a 64 72 61 77 2d 6e |-item sv| :draw-n|
|000026f0| 6f 77 2d 70 20 74 29 29 | 0d 0d 3b 3b 3b 3b 3b 3b |ow-p t))|..;;;;;;|
|00002700| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00002710| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00002720| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00002730| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00002740| 0d 0d 23 7c 0d 0d 3b 3b | 3b 20 61 20 6d 6f 64 65 |..#|..;;|; a mode|
|00002750| 73 74 20 65 78 61 6d 70 | 6c 65 20 2d 20 61 64 64 |st examp|le - add|
|00002760| 69 6e 67 20 73 65 6c 65 | 63 74 20 62 65 68 61 76 |ing sele|ct behav|
|00002770| 69 6f 72 20 74 6f 20 73 | 74 61 74 69 63 20 74 65 |ior to s|tatic te|
|00002780| 78 74 20 64 69 61 6c 6f | 67 20 69 74 65 6d 73 0d |xt dialo|g items.|
|00002790| 0d 28 64 65 66 63 6c 61 | 73 73 20 73 74 73 65 6c |.(defcla|ss stsel|
|000027a0| 20 28 73 65 6c 65 63 74 | 61 62 6c 65 2d 73 76 6d | (select|able-svm|
|000027b0| 20 73 74 61 74 69 63 2d | 74 65 78 74 2d 64 69 61 | static-|text-dia|
|000027c0| 6c 6f 67 2d 69 74 65 6d | 29 20 28 29 29 0d 3b 28 |log-item|) ()).;(|
|000027d0| 64 65 66 63 6c 61 73 73 | 20 73 74 73 65 6c 20 28 |defclass| stsel (|
|000027e0| 73 65 6c 65 63 74 61 62 | 6c 65 2d 72 62 2d 73 76 |selectab|le-rb-sv|
|000027f0| 6d 20 73 74 61 74 69 63 | 2d 74 65 78 74 2d 64 69 |m static|-text-di|
|00002800| 61 6c 6f 67 2d 69 74 65 | 6d 29 20 28 29 29 0d 3b |alog-ite|m) ()).;|
|00002810| 28 64 65 66 63 6c 61 73 | 73 20 73 74 73 65 6c 20 |(defclas|s stsel |
|00002820| 28 73 65 6c 65 63 74 61 | 62 6c 65 2d 63 62 2d 73 |(selecta|ble-cb-s|
|00002830| 76 6d 20 73 74 61 74 69 | 63 2d 74 65 78 74 2d 64 |vm stati|c-text-d|
|00002840| 69 61 6c 6f 67 2d 69 74 | 65 6d 29 20 28 29 29 0d |ialog-it|em) ()).|
|00002850| 0d 28 73 65 74 66 20 2a | 74 65 73 74 2d 77 2a 0d |.(setf *|test-w*.|
|00002860| 20 20 20 20 20 20 28 6d | 61 6b 65 2d 69 6e 73 74 | (m|ake-inst|
|00002870| 61 6e 63 65 20 27 64 69 | 61 6c 6f 67 0d 20 20 20 |ance 'di|alog. |
|00002880| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002890| 20 20 3a 77 69 6e 64 6f | 77 2d 74 79 70 65 20 3a | :windo|w-type :|
|000028a0| 64 6f 63 75 6d 65 6e 74 | 0d 20 20 20 20 20 20 20 |document|. |
|000028b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 3a 76 | | :v|
|000028c0| 69 65 77 2d 70 6f 73 69 | 74 69 6f 6e 20 3a 63 65 |iew-posi|tion :ce|
|000028d0| 6e 74 65 72 65 64 0d 20 | 20 20 20 20 20 20 20 20 |ntered. | |
|000028e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 3a 76 69 65 | | :vie|
|000028f0| 77 2d 73 69 7a 65 20 23 | 40 28 32 30 30 20 31 30 |w-size #|@(200 10|
|00002900| 30 29 0d 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |0). | |
|00002910| 20 20 20 20 20 20 20 20 | 3a 77 69 6e 64 6f 77 2d | |:window-|
|00002920| 74 69 74 6c 65 20 22 73 | 65 6c 65 63 74 61 62 6c |title "s|electabl|
|00002930| 65 2d 73 76 6d 20 64 65 | 6d 6f 22 0d 20 20 20 20 |e-svm de|mo". |
|00002940| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002950| 20 3a 63 6c 6f 73 65 2d | 62 6f 78 2d 70 20 74 0d | :close-|box-p t.|
|00002960| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002970| 20 20 20 20 20 3a 63 6f | 6c 6f 72 2d 70 20 74 0d | :co|lor-p t.|
|00002980| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002990| 20 20 20 20 20 3a 76 69 | 65 77 2d 73 75 62 76 69 | :vi|ew-subvi|
|000029a0| 65 77 73 0d 20 20 20 20 | 20 20 20 20 20 20 20 20 |ews. | |
|000029b0| 20 20 20 20 20 20 20 20 | 20 28 6c 69 73 74 20 28 | | (list (|
|000029c0| 6d 61 6b 65 2d 69 6e 73 | 74 61 6e 63 65 20 27 73 |make-ins|tance 's|
|000029d0| 74 73 65 6c 0d 20 20 20 | 20 20 20 20 20 20 20 20 |tsel. | |
|000029e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000029f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002a00| 20 20 3a 76 69 65 77 2d | 70 6f 73 69 74 69 6f 6e | :view-|position|
|00002a10| 20 23 40 28 32 30 20 32 | 30 29 0d 20 20 20 20 20 | #@(20 2|0). |
|00002a20| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002a30| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002a40| 20 20 20 20 20 20 20 20 | 3a 64 69 61 6c 6f 67 2d | |:dialog-|
|00002a50| 69 74 65 6d 2d 74 65 78 | 74 20 22 69 74 65 6d 20 |item-tex|t "item |
|00002a60| 31 22 0d 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |1". | |
|00002a70| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002a80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002a90| 3a 76 69 65 77 2d 6e 69 | 63 6b 2d 6e 61 6d 65 20 |:view-ni|ck-name |
|00002aa0| 3a 69 31 0d 20 20 20 20 | 20 20 20 20 20 20 20 20 |:i1. | |
|00002ab0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002ac0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002ad0| 20 3a 73 65 6c 65 63 74 | 69 6f 6e 2d 63 6c 75 73 | :select|ion-clus|
|00002ae0| 74 65 72 20 31 0d 20 20 | 20 20 20 20 20 20 20 20 |ter 1. | |
|00002af0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002b00| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002b10| 20 20 20 29 0d 20 20 20 | 20 20 20 20 20 20 20 20 | ). | |
|00002b20| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002b30| 28 6d 61 6b 65 2d 69 6e | 73 74 61 6e 63 65 20 27 |(make-in|stance '|
|00002b40| 73 74 73 65 6c 0d 20 20 | 20 20 20 20 20 20 20 20 |stsel. | |
|00002b50| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002b60| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002b70| 20 20 20 3a 76 69 65 77 | 2d 70 6f 73 69 74 69 6f | :view|-positio|
|00002b80| 6e 20 23 40 28 32 30 20 | 34 30 29 0d 20 20 20 20 |n #@(20 |40). |
|00002b90| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002ba0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002bb0| 20 20 20 20 20 20 20 20 | 20 3a 64 69 61 6c 6f 67 | | :dialog|
|00002bc0| 2d 69 74 65 6d 2d 74 65 | 78 74 20 22 69 74 65 6d |-item-te|xt "item|
|00002bd0| 20 32 22 0d 20 20 20 20 | 20 20 20 20 20 20 20 20 | 2". | |
|00002be0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002bf0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002c00| 20 3a 76 69 65 77 2d 6e | 69 63 6b 2d 6e 61 6d 65 | :view-n|ick-name|
|00002c10| 20 3a 69 32 0d 20 20 20 | 20 20 20 20 20 20 20 20 | :i2. | |
|00002c20| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002c30| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002c40| 20 20 3a 73 65 6c 65 63 | 74 69 6f 6e 2d 63 6c 75 | :selec|tion-clu|
|00002c50| 73 74 65 72 20 31 0d 20 | 20 20 20 20 20 20 20 20 |ster 1. | |
|00002c60| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002c70| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002c80| 20 20 20 20 29 0d 20 20 | 20 20 20 20 20 20 20 20 | ). | |
|00002c90| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002ca0| 20 28 6d 61 6b 65 2d 69 | 6e 73 74 61 6e 63 65 20 | (make-i|nstance |
|00002cb0| 27 73 74 73 65 6c 0d 20 | 20 20 20 20 20 20 20 20 |'stsel. | |
|00002cc0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002cd0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002ce0| 20 20 20 20 3a 76 69 65 | 77 2d 70 6f 73 69 74 69 | :vie|w-positi|
|00002cf0| 6f 6e 20 23 40 28 32 30 | 20 36 30 29 0d 20 20 20 |on #@(20| 60). |
|00002d00| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002d10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002d20| 20 20 20 20 20 20 20 20 | 20 20 3a 64 69 61 6c 6f | | :dialo|
|00002d30| 67 2d 69 74 65 6d 2d 74 | 65 78 74 20 22 49 74 65 |g-item-t|ext "Ite|
|00002d40| 6d 20 33 22 0d 20 20 20 | 20 20 20 20 20 20 20 20 |m 3". | |
|00002d50| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002d60| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002d70| 20 20 3a 76 69 65 77 2d | 6e 69 63 6b 2d 6e 61 6d | :view-|nick-nam|
|00002d80| 65 20 3a 69 32 0d 20 20 | 20 20 20 20 20 20 20 20 |e :i2. | |
|00002d90| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002da0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002db0| 20 20 20 3a 73 65 6c 65 | 63 74 69 6f 6e 2d 63 6c | :sele|ction-cl|
|00002dc0| 75 73 74 65 72 20 31 0d | 20 20 20 20 20 20 20 20 |uster 1.| |
|00002dd0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002de0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002df0| 20 20 20 20 20 29 0d 0d | 20 20 20 20 20 20 20 20 | )..| |
|00002e00| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002e10| 20 20 20 29 29 29 0d 0d | 3b 28 73 65 6c 65 63 74 | )))..|;(select|
|00002e20| 65 64 2d 69 74 65 6d 73 | 20 28 76 69 65 77 2d 6e |ed-items| (view-n|
|00002e30| 61 6d 65 64 20 3a 69 31 | 20 2a 74 65 73 74 2d 77 |amed :i1| *test-w|
|00002e40| 2a 29 29 0d 0d 7c 23 00 | 00 00 00 00 00 00 00 00 |*))..|#.|........|
|00002e50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002e60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002e70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002e80| 00 00 01 00 00 00 01 5a | 00 00 00 5a 00 00 00 46 |.......Z|...Z...F|
|00002e90| 29 0d 28 70 72 6f 76 69 | 64 65 20 3a 73 65 6c 65 |).(provi|de :sele|
|00002ea0| 63 74 61 62 6c 65 2d 64 | 69 6d 29 0d 3b 3b 3b 3b |ctable-d|im).;;;;|
|00002eb0| 13 73 65 6c 65 63 74 61 | 62 6c 65 2d 73 76 6d 2e |.selecta|ble-svm.|
|00002ec0| 6c 69 73 70 02 00 00 00 | 54 45 58 54 43 43 4c 32 |lisp....|TEXTCCL2|
|00002ed0| 00 00 54 45 58 54 43 43 | 4c 32 40 00 00 00 00 00 |..TEXTCC|L2@.....|
|00002ee0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ef0| 00 00 a4 c5 8f 14 00 00 | 00 00 00 00 01 a0 6c 65 |........|......le|
|00002f00| 2d 64 69 6d 2e 4c 69 73 | 70 0d 3b 3b 0d 3b 3b 20 |-dim.Lis|p.;;.;; |
|00002f10| 43 6f 70 79 72 69 67 68 | 74 20 a9 20 31 39 39 31 |Copyrigh|t . 1991|
|00002f20| 20 4e 6f 72 74 68 77 65 | 73 74 65 72 6e 20 55 6e | Northwe|stern Un|
|00002f30| 69 76 65 72 73 69 74 79 | 20 49 6e 73 74 69 74 75 |iversity| Institu|
|00002f40| 74 65 20 66 6f 72 20 74 | 68 65 20 4c 65 61 72 6e |te for t|he Learn|
|00002f50| 69 6e 67 20 53 63 69 65 | 6e 63 65 73 0d 3b 3b 20 |ing Scie|nces.;; |
|00002f60| 41 6c 6c 20 52 69 67 68 | 74 73 20 52 65 73 65 72 |All Righ|ts Reser|
|00002f70| 76 65 64 0d 3b 3b 0d 3b | 3b 20 61 75 74 68 6f 72 |ved.;;.;|; author|
|00002f80| 00 00 00 0a 00 01 00 16 | 0a 00 01 00 00 00 00 00 |........|........|
|00002f90| 00 48 00 0a 43 6f 75 72 | 69 65 72 00 00 00 00 00 |.H..Cour|ier.....|
|00002fa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002fb0| 00 00 00 00 00 06 00 08 | 00 7a 00 f3 03 1a 02 e6 |........|.z......|
|00002fc0| 00 7a 00 f3 03 1a 02 e6 | 00 00 00 00 00 00 0e 12 |.z......|........|
|00002fd0| 00 00 0e 12 00 00 0a 10 | 01 00 00 00 01 00 00 00 |........|........|
|00002fe0| 01 5a 00 00 00 5a 00 00 | 00 46 00 37 d3 2c 08 74 |.Z...Z..|.F.7.,.t|
|00002ff0| 00 00 00 1c 00 46 00 01 | 46 52 45 44 00 00 00 12 |.....F..|FRED....|
|00003000| 4d 50 53 52 00 00 00 1e | 00 02 ff ff 00 00 00 00 |MPSR....|........|
|00003010| 00 00 00 00 03 ed ff ff | 00 00 00 0e 00 37 ec f4 |........|.....7..|
|00003020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003060| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003070| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+